package com.colorfruit.admin.business.service;

import com.colorfruit.framework.model.pojo.BaseResult;
import com.github.pagehelper.PageInfo;

public interface OrderService {
    /**
     * 待支付
     * @param userId
     * @param page
     * @param size
     * @return
     */
    PageInfo selectNotPayOrderList(String userId , int page , int size);

    /**
     * 待发货
     * @param userId
     * @param page
     * @param size
     * @return
     */
    PageInfo selectNotTransportOrderList(String userId , int page , int size);

    /**
     * 待签收
     * @param userId
     * @param page
     * @param size
     * @return
     */
    PageInfo selectNotSignOrderList(String userId , int page , int size);

    /**
     * 已签收
     * @param userId
     * @param page
     * @param size
     * @return
     */
    PageInfo selectSignedOrderList(String userId , int page , int size);

    /**
     * 取消订单
     * @param businessNo
     * @return
     */
    BaseResult cancelOrder(String businessNo, String userId);

    /**
     * 确认收货
     * @param businessNo
     * @return
     */
    BaseResult confirmReceiveProduct(String userId, String businessNo);

    /**
     * 查询物流信息
     * @param businessNo
     * @return
     */
    BaseResult searchLogicInfo(String businessNo);

    /**
     * 查询交易信息
     * @param businessNo
     * @return
     */
    BaseResult searchTradeInfo(String businessNo);


}
